<template>
  <div>
    <button @click="inc">{{ count }}</button>
  </div>
</template>

<script setup>

import {ref} from 'vue'

export const count = ref(0);
export const inc = () => count.value++;

</script>

<style scoped>

</style>